package com.cyzy.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.cyzy.controller.StudentController;
import com.cyzy.dao.AttendStudentClassDao;
import com.cyzy.dao.StudentCourseDao;
import com.cyzy.pojo.Attend;
import com.cyzy.pojo.Student;
import org.springframework.web.bind.annotation.PathVariable;

import java.util.List;

public interface StudentService extends IService<Student> {


    int  disabledStudent(Integer id);

    //学员信息
    Page<StudentCourseDao> selectStudents(StudentCourseDao studentCourseDao);

    List<StudentCourseDao> selectAllStudent(StudentCourseDao studentCourseDao);

    Page<AttendStudentClassDao> attend(AttendStudentClassDao attendStudentClassDao);

    int addAttend(Attend attend);

    int AddStudent(Student student);

    int resetPwd(Student student);

    int deleteStudent(Student student);

}
